import {App} from "vue"
import copy from "@/directive/copy"
import menu from "@/directive/menu"
import {directive} from "@/apps/admin/units/auth"

/**
 * 指令注册
 * @param app
 * @returns {*}
 */
export default function (app: App) {
    app.directive(directive.name, directive.directive);//注册权限指令
    app.directive(copy.name, copy.directive);//注册权限指令
    app.directive(menu.name, menu.directive);//注册权限指令
}